<!--
/**
 * Template Listagem
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<!--
/**
 * Template registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</style>
{END style_block}
{BEGIN iestyle_block}
<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
</head>
<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">

{BEGIN toplinks_block}
<div id="toplinks_block{$id}">
<h2><b>Usuario</b></h2>










</div>
{END toplinks_block}

{BEGIN search_records_block} 
<div id="recordcontrolsadd_block{$id}" class="shade">
	<span id="search_records_block{$id}" class="shade">
	
		{BEGIN details_block}
		<span  {$details_attrs}>Ítens Encontrados: <b>{$records_found}</b>&nbsp;&nbsp;&nbsp;&nbsp;</span>
	{END details_block}

	{BEGIN pages_block}
		<span {$pages_attrs}>Página <b>{$page}</b> de <b>{$maxpages}</b></span>
	{END pages_block}

		&nbsp;&nbsp;&nbsp;&nbsp;
	{BEGIN recordspp_block}	<!-- class="center_block" -->
			{$recsPerPage}
	{END recordspp_block}
	</span>
</div>
{END search_records_block} 


<!-- search panel and window -->
<div id="searchPanelContainer{$id}" class="searchPanelContainer">
{$adv_search_panel}
</div>

<div moveForSearch="move{$id}" {$marginStyle}>

{BEGIN recordcontrols_block}
<div id="record_controls{$id}">    {BEGIN newrecord_controls}
    <span id="newrecord_controls{$id}"> 
        {BEGIN inlineadd_link}
<span class=buttonborder>
<input type=button class="button" value="Adicionar Novo" {$inlineaddlink_attrs} >
</span>
{END inlineadd_link}
 </span>
    {END newrecord_controls}
{$lookupSearchControls}
{BEGIN record_controls}
<span id="record_controls{$id}2"> 
                {BEGIN editselected_link}
<span class=buttonborder {$editselectedlink_span}>
<input type=button class="button" value="Editar selecionado" {$editselectedlink_attrs}>
</span>
{END editselected_link}
{BEGIN saveall_link}
<span class=buttonborder {$savealllink_span}>
<input type=button class="button" value="Salvar todos" {$savealllink_attrs}>
</span>
{END saveall_link}
{BEGIN cancelall_link}
<span class=buttonborder {$cancelalllink_span}>
<input type=button class="button" value="Cancelar Edição" {$cancelalllink_attrs}>
</span>
{END cancelall_link}

        {BEGIN deleteselected_link}
<span class=buttonborder {$deleteselectedlink_span}>
<input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>
{END deleteselected_link}

        
         </span>
{END record_controls}
</div>
{END recordcontrols_block}
<div class="message" id="usermessage{$id}">{$user_message}</div>


{BEGIN grid_block}


<table name="maintable" class="display" cellspacing=2 cellpadding=3 border=0 id="grid_block{$id}">
{BEGIN grid_header}
<thead>
<tr valign="top" {$gridHeader_attrs}>
{BEGIN record_header}

{BEGIN listIcons_column}
	<th align="center" class="blackshade" {$widthListIcons} iEditCont="all" nowrap="nowrap">&nbsp;</th>
{END listIcons_column}

{BEGIN checkbox_column}
<th width="20" class="blackshade" align="left">
{BEGIN checkbox_header}
<input type="checkbox" {$checkboxheader_attrs}>
{END checkbox_header}
</th>
{END checkbox_column}

{BEGIN sica_usuario_dtable_column}
<th  align="left" class="blackshade">&nbsp;</th>
{END sica_usuario_dtable_column}

{BEGIN sq_usuario_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN sq_usuario_fieldheader}
<a class="defblackshade" {$sq_usuario_orderlinkattrs}>Sq Usuario</a>
{END sq_usuario_fieldheader}
&nbsp;
</th>
{END sq_usuario_fieldheadercolumn}
{BEGIN sq_pessoa_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN sq_pessoa_fieldheader}
<a class="defblackshade" {$sq_pessoa_orderlinkattrs}>Sq Pessoa</a>
{END sq_pessoa_fieldheader}
&nbsp;
</th>
{END sq_pessoa_fieldheadercolumn}
{BEGIN tx_senha_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN tx_senha_fieldheader}
<a class="defblackshade" {$tx_senha_orderlinkattrs}>Tx Senha</a>
{END tx_senha_fieldheader}
&nbsp;
</th>
{END tx_senha_fieldheadercolumn}
{BEGIN st_ativo_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN st_ativo_fieldheader}
<a class="defblackshade" {$st_ativo_orderlinkattrs}>St Ativo</a>
{END st_ativo_fieldheader}
&nbsp;
</th>
{END st_ativo_fieldheadercolumn}
{BEGIN in_ldap_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN in_ldap_fieldheader}
<a class="defblackshade" {$in_ldap_orderlinkattrs}>In Ldap</a>
{END in_ldap_fieldheader}
&nbsp;
</th>
{END in_ldap_fieldheadercolumn}
{BEGIN in_usuario_externo_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN in_usuario_externo_fieldheader}
<a class="defblackshade" {$in_usuario_externo_orderlinkattrs}>In Usuario Externo</a>
{END in_usuario_externo_fieldheader}
&nbsp;
</th>
{END in_usuario_externo_fieldheadercolumn}
{BEGIN st_registro_ativo_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN st_registro_ativo_fieldheader}
<a class="defblackshade" {$st_registro_ativo_orderlinkattrs}>St Registro Ativo</a>
{END st_registro_ativo_fieldheader}
&nbsp;
</th>
{END st_registro_ativo_fieldheadercolumn}
{BEGIN endrecordheader_block}
<th>&nbsp;</th>
{END endrecordheader_block}

{END record_header}
</tr>
</thead>
{END grid_header}

<tbody>
{BEGIN grid_row}
<tr valign="top" {$rowstyle} {$rowattrs}> 
{BEGIN grid_record}

{BEGIN listIcons_column}
	<td align="left" class="listIcons" iEditCont="all" valign="middle" nowrap="nowrap">
	
		{BEGIN inlineedit_column}
	{BEGIN inlineedit_link}
	<a {$inlineeditlink_attrs} title="Editar" rel="Editar" class="tooltip"><img class="listIcon" src="images/icon_inline_edit_new.gif" align="middle"  alt="Editar" border="0"></a>
	{END inlineedit_link}
	{END inlineedit_column}

	
		</td>
{END listIcons_column}	

{BEGIN checkbox_column}
<td align="left" valign="middle" width="20" >
{BEGIN checkbox}
<input type="checkbox" {$checkbox_attrs}>
{END checkbox}
</td>
{END checkbox_column}

{BEGIN sica_usuario_dtable_column}
<td align="left" valign="middle" nowrap="nowrap">
  {BEGIN usuario_perfil_dtable_link}
  <a  {$usuario_perfil_dtablelink_attrs} rel="Usuario Perfil" class="tooltip">
  
  <img src="botoes/view.png" alt="Usuario Perfil" title="Usuario Perfil"/> 
    <span {$usuario_perfil_childnumber_attr}>
  {BEGIN usuario_perfil_childcount}

  ({$usuario_perfil_childnumber})
  
  {END usuario_perfil_childcount}
  </span>  </a> &nbsp;
{END usuario_perfil_dtable_link}
 </td>
{END sica_usuario_dtable_column}

{BEGIN sq_usuario_fieldcolumn}
<td valign="middle" {$sq_usuario_style}>
{$sq_usuario_value}
</td>
{END sq_usuario_fieldcolumn}
{BEGIN sq_pessoa_fieldcolumn}
<td valign="middle" {$sq_pessoa_style}>
{$sq_pessoa_value}
</td>
{END sq_pessoa_fieldcolumn}
{BEGIN tx_senha_fieldcolumn}
<td valign="middle" {$tx_senha_style}>
{$tx_senha_value}
</td>
{END tx_senha_fieldcolumn}
{BEGIN st_ativo_fieldcolumn}
<td valign="middle" {$st_ativo_style}>
{$st_ativo_value}
</td>
{END st_ativo_fieldcolumn}
{BEGIN in_ldap_fieldcolumn}
<td valign="middle" {$in_ldap_style}>
{$in_ldap_value}
</td>
{END in_ldap_fieldcolumn}
{BEGIN in_usuario_externo_fieldcolumn}
<td valign="middle" {$in_usuario_externo_style}>
{$in_usuario_externo_value}
</td>
{END in_usuario_externo_fieldcolumn}
{BEGIN st_registro_ativo_fieldcolumn}
<td valign="middle" {$st_registro_ativo_style}>
{$st_registro_ativo_value}
</td>
{END st_registro_ativo_fieldcolumn}

{BEGIN endrecord_block}
<td class="body2" {$endrecordblock_attrs}>&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
</tbody>

</table>

{END grid_block}



{BEGIN pagination_block}
<div id="pagination_block{$id}" align="center" class="toplist" >{$pagination}</div>
{END pagination_block}

{BEGIN message_block}
<div id="message_block{$id}" align=center valign=middle class=toplist><b>{$message}</b></div>
{END message_block}

</div>
{END body}
{$footer}

